home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / usenet / volume2 / umoria / xenix_d.iff < prev   
Encoding:
Internet Message Format  |  1988-01-21  |  47.1 KB

  1. Path: uunet!husc6!uwvax!dogie!uwmcsd1!ig!agate!ucbvax!decvax!tektronix!tekgen!tekred!games-request
  2. From: games-request@tekred.TEK.COM
  3. Newsgroups: comp.sources.games
  4. Subject: v03i064:  umoria - diffs for Xenix V
  5. Message-ID: <2088@tekred.TEK.COM>
  6. Date: 20 Jan 88 18:35:15 GMT
  7. Sender: billr@tekred.TEK.COM
  8. Lines: 1746
  9. Approved: billr@tekred.TEK.COM
  10.  
  11. Submitted by: jpusa1!stu@ihnp4 (Stu Heiss)
  12. Comp.sources.games: Volume 3, Issue 64
  13. Archive-name: umoria/xenix_diff
  14.  
  15.     [Here are diffs to get umoria running on Xenix and other
  16.     'sizeof int = 16' os'es.  This is being posted here at
  17.     the request of the submitter so it can be part of the
  18.     archive (he also posted this to comp.sources.bugs).  -br]
  19.  
  20. #! /bin/sh
  21. # This is a shell archive.  Remove anything before this line, then unpack
  22. # it by saving it into a file and typing "sh file".  To overwrite existing
  23. # files, type "sh file -c".  You can also feed this as standard input via
  24. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  25. # will see the following message at the end:
  26. #        "End of shell archive."
  27. # Contents:  Makefile clashes.h diffs.xenix
  28. # Wrapped by billr@tekred on Wed Jan 20 10:33:20 1988
  29. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  30. if test -f Makefile -a "${1}" != "-c" ; then 
  31.   echo shar: Will not over-write existing file \"Makefile\"
  32. else
  33. echo shar: Extracting \"Makefile\" \(3833 characters\)
  34. sed "s/^X//" >Makefile <<'END_OF_Makefile'
  35. X# BINDIR is the directory where the moria binary while be put
  36. X# LIBDIR is where the other files (scoreboard, news, hours) will be put
  37. X#  LIBDIR must be the same directory defined in config.h
  38. XBINDIR = /usr/local/games
  39. XLIBDIR = /usr/local/lib/moria
  40. X
  41. XDEFS = -DXENIX -DUSG -DKEY_BINDINGS=ROGUE_LIKE -DBUGGY_CURSES
  42. XOPTIM= # -O
  43. XMODEL= -Mel2
  44. XCFLAGS = $(MODEL) $(OPTIM) $(DEFS)
  45. XLDFLAGS = $(MODEL) -F 4000
  46. XCC=cc
  47. XCCL=cc -LARGE
  48. XSEG= # -SEG 1000
  49. XLIBS= -lm -lcurses -ltermcap
  50. X#LIBS= -lm -lcurses -ltermcap -lx
  51. X
  52. XSRCS = main.c misc1.c misc2.c store1.c files.c io.c create.c desc.c\
  53. X    generate.c sets.c dungeon.c creature.c death.c eat.c help.c magic.c\
  54. X    potions.c prayer.c save.c staffs.c wands.c scrolls.c spells.c\
  55. X    wizard.c store2.c signals.c moria1.c moria2.c monsters.c\
  56. X    treasure1.c treasure2.c variables.c
  57. X
  58. XxOBJS = main.o misc1.o misc2.o store1.o files1.o files2.o io.o create1.o create2.o desc.o\
  59. X    generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  60. X    potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  61. X    wizard1.o wizard2.o store2.o signals.o moria1.o moria2.o monsters.o\
  62. X     treasure1.o treasure2.o variables.o
  63. X
  64. XdOBJS = monsters.o treasure1.o treasure2.o variables.o 
  65. X
  66. XcOBJS = main.o misc1.o misc2.o store1.o files1.o files2.o io.o create1.o create2.o desc.o\
  67. X    generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o\
  68. X    potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o\
  69. X    wizard1.o wizard2.o store2.o signals.o moria1.o moria2.o
  70. X
  71. X#OBJS= /lib/Lsignal.o $(dOBJS) $(cOBJS) 
  72. XOBJS=  $(xOBJS)
  73. X
  74. Xmoria : $(OBJS)
  75. X    $(CC) -o moria $(LDFLAGS) $(OBJS) $(SEG) $(LIBS)
  76. X
  77. Xmonsters.o:    monsters.c
  78. X    $(CC) $(CFLAGS) -ND monsters -c monsters.c
  79. X
  80. Xtreasure1.o:    treasure1.c
  81. X    $(CC) $(CFLAGS) -ND treasure1 -c treasure1.c
  82. X
  83. Xtreasure2.o:    treasure2.c
  84. X    $(CC) $(CFLAGS) -ND treasure2 -c treasure2.c
  85. X
  86. Xvariables.o:    variables.c
  87. X    $(CC) $(CFLAGS) -ND variables -c variables.c
  88. X
  89. Xmisc1.o:    misc1.c
  90. X    $(CCL) $(CFLAGS) -c misc1.c
  91. X
  92. Xfiles1.o:    files.c
  93. X    cc $(CFLAGS) -c -DPASS1 files.c
  94. X    mv files.o files1.o
  95. X
  96. Xfiles2.o:    files.c
  97. X    cc $(CFLAGS) -c files.c
  98. X    mv files.o files2.o
  99. X
  100. Xcreate1.o:    create.c
  101. X    cc $(CFLAGS) -c -DPASS1 create.c
  102. X    mv create.o create1.o
  103. X
  104. Xcreate2.o:    create.c
  105. X    cc $(CFLAGS) -c create.c
  106. X    mv create.o create2.o
  107. X
  108. Xwizard1.o:    wizard.c
  109. X    cc $(CFLAGS) -c -DPASS1 wizard.c
  110. X    mv wizard.o wizard1.o
  111. X
  112. Xwizard2.o:    wizard.c
  113. X    cc $(CFLAGS) -c wizard.c
  114. X    mv wizard.o wizard2.o
  115. X
  116. Xlintout : $(SRCS)
  117. X    lint -DUSG $(SRCS) -lm -lcurses -ltermcap > lintout
  118. X
  119. XTAGS : $(SRCS)
  120. X    ctags -x $(SRCS) > TAGS
  121. X
  122. Xinstall:
  123. X    cp moria $(BINDIR)
  124. X    cp Moria_hours $(LIBDIR)
  125. X    cp Moria_news $(LIBDIR)
  126. X    cp Highscores $(LIBDIR)
  127. X    chmod 4511 $(BINDIR)/moria
  128. X    chmod 644 $(LIBDIR)/Highscores
  129. X    chmod 444 $(LIBDIR)/Moria_news
  130. X    chmod 444 $(LIBDIR)/Moria_hours
  131. X    chmod 555 $(LIBDIR)
  132. X
  133. Xcreate.o: constants.h types.h externs.h
  134. Xcreature.o: constants.h types.h externs.h
  135. Xdeath.o: config.h constants.h types.h externs.h
  136. Xdesc.o: constants.h types.h externs.h
  137. Xdungeon.o: constants.h types.h externs.h
  138. Xeat.o: constants.h types.h externs.h
  139. Xfiles.o: config.h constants.h types.h externs.h
  140. Xgenerate.o: constants.h types.h externs.h
  141. Xhelp.o: constants.h types.h externs.h
  142. Xio.o: constants.h types.h externs.h
  143. Xmagic.o: constants.h types.h externs.h
  144. Xmain.o: constants.h types.h 
  145. Xmisc1.o: constants.h types.h externs.h
  146. Xmisc2.o: config.h constants.h types.h externs.h
  147. Xmoria1.o: constants.h types.h externs.h
  148. Xmoria2.o: constants.h types.h externs.h
  149. Xpotions.o: constants.h types.h externs.h
  150. Xprayer.o: constants.h types.h externs.h
  151. Xsave.o: constants.h types.h externs.h
  152. Xscrolls.o: constants.h types.h externs.h
  153. Xsets.o: constants.h
  154. Xsignals.o: constants.h types.h externs.h
  155. Xspells.o: constants.h types.h externs.h
  156. Xstaffs.o: constants.h types.h externs.h
  157. Xstore1.o: constants.h types.h externs.h
  158. Xstore2.o: constants.h types.h externs.h
  159. Xwands.o: constants.h types.h externs.h
  160. Xwizard.o: constants.h types.h externs.h
  161. END_OF_Makefile
  162. if test 3833 -ne `wc -c <Makefile`; then
  163.     echo shar: \"Makefile\" unpacked with wrong size!
  164. fi
  165. # end of overwriting check
  166. fi
  167. if test -f clashes.h -a "${1}" != "-c" ; then 
  168.   echo shar: Will not over-write existing file \"clashes.h\"
  169. else
  170. echo shar: Extracting \"clashes.h\" \(4801 characters\)
  171. sed "s/^X//" >clashes.h <<'END_OF_clashes.h'
  172. X#define aggravate_monster _fix0
  173. X#define background_type _fix1
  174. X#define build_type1 _fix2
  175. X#define build_type2 _fix3
  176. X#define build_type3 _fix4
  177. X#define change_name _fix5
  178. X#define change_speed _fix6
  179. X#define change_stat_factor _fix7
  180. X#define char_tmp _fix8
  181. X#define compact_monsters _fix9
  182. X#define confuse _fix10
  183. X#define confuse_monster _fix11
  184. X#define confused _fix12
  185. X#define corr_floor1 _fix13
  186. X#define corr_floor2 _fix14
  187. X#define corr_floor3 _fix15
  188. X#define creature_type _fix16
  189. X#define creatures _fix17
  190. X#define critical_blow _fix18
  191. X#define cur_char1 _fix19
  192. X#define de_statp _fix20
  193. X#define delete_1 _fix21
  194. X#define delete_monster _fix22
  195. X#define delete_object _fix23
  196. X#define destroy _fix24
  197. X#define destroy2 _fix25
  198. X#define detect_evil _fix26
  199. X#define detect_inv2 _fix27
  200. X#define detect_invisible _fix28
  201. X#define detect_monsters _fix29
  202. X#define detect_object _fix30
  203. X#define detect_sdoor _fix31
  204. X#define detect_trap _fix32
  205. X#define detect_treasure _fix33
  206. X#define display_commands _fix34
  207. X#define display_cost _fix35
  208. X#define display_inventory _fix36
  209. X#define generate _fix37
  210. X#define haggle_commands _fix38
  211. X#define haggle_insults _fix39
  212. X#define history _fix40
  213. X#define in_statp _fix41
  214. X#define increase_insults _fix42
  215. X#define insert_inv _fix43
  216. X#define insert_str _fix44
  217. X#define insult_cur _fix45
  218. X#define insult_max _fix46
  219. X#define inven_carry _fix47
  220. X#define inven_check_num _fix48
  221. X#define inven_check_weight _fix49
  222. X#define inven_ctr _fix50
  223. X#define inven_destroy _fix51
  224. X#define inven_drop _fix52
  225. X#define inventory _fix53
  226. X#define item_value _fix54
  227. X#define magic_spell _fix55
  228. X#define max_panel_rows _fix56
  229. X#define monster_death _fix57
  230. X#define monster_type _fix58
  231. X#define new_spells _fix59
  232. X#define next_to _fix60
  233. X#define next_to4 _fix61
  234. X#define object_ident _fix62
  235. X#define object_list _fix63
  236. X#define object_str _fix64
  237. X#define old_ptodam _fix65
  238. X#define original_commands _fix66
  239. X#define original_help _fix67
  240. X#define out_val _fix68
  241. X#define out_val1 _fix69
  242. X#define out_val2 _fix70
  243. X#define panel_col _fix71
  244. X#define panel_col_max _fix72
  245. X#define panel_col_min _fix73
  246. X#define panel_col_prt _fix74
  247. X#define panel_row _fix75
  248. X#define panel_row_max _fix76
  249. X#define panel_row_min _fix77
  250. X#define password1 _fix78
  251. X#define place_door _fix79
  252. X#define place_down_stairs _fix80
  253. X#define place_open_door _fix81
  254. X#define place_secret_door _fix82
  255. X#define place_streamer _fix83
  256. X#define place_stuck_door _fix84
  257. X#define player_exp _fix85
  258. X#define player_light _fix86
  259. X#define player_max_exp _fix87
  260. X#define player_saves _fix88
  261. X#define player_title _fix89
  262. X#define player_type _fix90
  263. X#define print_map _fix91
  264. X#define prt_comment1 _fix92
  265. X#define prt_comment2 _fix93
  266. X#define prt_comment3 _fix94
  267. X#define prt_comment4 _fix95
  268. X#define prt_comment5 _fix96
  269. X#define prt_constitution _fix97
  270. X#define prt_stat _fix98
  271. X#define purchase_haggle _fix99
  272. X#define put_misc1 _fix100
  273. X#define put_misc2 _fix101
  274. X#define randes_state _fix102
  275. X#define receive_offer _fix103
  276. X#define remove_curse _fix104
  277. X#define remove_fear _fix105
  278. X#define resist_heat _fix106
  279. X#define restore_level _fix107
  280. X#define rock_wall1 _fix108
  281. X#define rock_wall2 _fix109
  282. X#define rock_wall3 _fix110
  283. X#define rogue_like_commands _fix111
  284. X#define rogue_like_help _fix112
  285. X#define search_flag _fix113
  286. X#define search_off _fix114
  287. X#define search_on _fix115
  288. X#define set_1_2 _fix116
  289. X#define set_acid_affect _fix117
  290. X#define set_corrodes _fix118
  291. X#define set_lightning_destroy _fix119
  292. X#define signal_save_core _fix120
  293. X#define signal_save_no_core _fix121
  294. X#define sleep_monster _fix122
  295. X#define sleep_monsters1 _fix123
  296. X#define speed_monster _fix124
  297. X#define store_carry _fix125
  298. X#define store_check _fix126
  299. X#define store_check_num _fix127
  300. X#define store_create _fix128
  301. X#define store_ctr _fix129
  302. X#define store_inven _fix130
  303. X#define store_prt_gold _fix131
  304. X#define summon_monster _fix132
  305. X#define sustain_con _fix133
  306. X#define sustain_dex _fix134
  307. X#define sustain_int _fix135
  308. X#define sustain_str _fix136
  309. X#define sustain_wis _fix137
  310. X#define td_destroy _fix138
  311. X#define teleport _fix139
  312. X#define teleport_away _fix140
  313. X#define teleport_flag _fix141
  314. X#define teleport_monster _fix142
  315. X#define teleport_to _fix143
  316. X#define trap_lista _fix144
  317. X#define turn_undead _fix145
  318. X#define unlight_area _fix146
  319. X#define weight_limit _fix147
  320. X#define wizard_light _fix148
  321. X#define cbreak crmode
  322. X#define nocbreak nocrmode
  323. X#define saveterm savetty
  324. X#define resetterm resetty
  325. X#define change_character _fix149
  326. X#define change_stat _fix150
  327. X#define change_trap _fix151
  328. X#define create_character _fix152
  329. X#define create_food _fix153
  330. X#define disarm_all _fix154
  331. X#define disarm_trap _fix155
  332. X#define display_char _fix156
  333. X#define display_scores _fix157
  334. X#define display_store _fix158
  335. X#define insert_num _fix159
  336. X#define insert_store _fix160
  337. X#define place_boundary _fix161
  338. X#define place_broken_door _fix162
  339. X#define store_destroy _fix163
  340. X#define summon_object _fix164
  341. X#define summon_undead _fix165
  342. END_OF_clashes.h
  343. if test 4801 -ne `wc -c <clashes.h`; then
  344.     echo shar: \"clashes.h\" unpacked with wrong size!
  345. fi
  346. # end of overwriting check
  347. fi
  348. if test -f diffs.xenix -a "${1}" != "-c" ; then 
  349.   echo shar: Will not over-write existing file \"diffs.xenix\"
  350. else
  351. echo shar: Extracting \"diffs.xenix\" \(35587 characters\)
  352. sed "s/^X//" >diffs.xenix <<'END_OF_diffs.xenix'
  353. XIndex: constants.h
  354. XRCS file: RCS/constants.h,v
  355. Xretrieving revision 1.1
  356. Xdiff -c3 -r1.1 constants.h
  357. X*** /tmp/,RCSt1a02655    Mon Jan 18 10:27:46 1988
  358. X--- constants.h    Sun Dec  6 14:54:41 1987
  359. X***************
  360. X*** 1,3
  361. X  /*Note to the Wizard:                                            */
  362. X  /*       Tweaking these constants can *GREATLY* change the game. */
  363. X  /*       Two years of constant tuning have generated these       */
  364. X
  365. X--- 1,4 -----
  366. X+ #include "clashes.h"
  367. X  /*Note to the Wizard:                                            */
  368. X  /*       Tweaking these constants can *GREATLY* change the game. */
  369. X  /*       Two years of constant tuning have generated these       */
  370. XIndex: create.c
  371. XRCS file: RCS/create.c,v
  372. Xretrieving revision 1.1
  373. Xdiff -c3 -r1.1 create.c
  374. X*** /tmp/,RCSt1a02660    Mon Jan 18 10:27:55 1988
  375. X--- create.c    Mon Dec  7 16:40:40 1987
  376. X***************
  377. X*** 13,18
  378. X  char *sprintf();
  379. X  #endif
  380. X  
  381. X  /* Generates character's stats                -JWT-    */
  382. X  int get_stat()
  383. X  {
  384. X
  385. X--- 13,19 -----
  386. X  char *sprintf();
  387. X  #endif
  388. X  
  389. X+ #ifdef PASS1
  390. X  /* Generates character's stats                -JWT-    */
  391. X  int get_stat()
  392. X  {
  393. X***************
  394. X*** 39,44
  395. X    return(cur_stat);
  396. X  }
  397. X  
  398. X  
  399. X  /* Allows player to select a race            -JWT-    */
  400. X  int choose_race()
  401. X
  402. X--- 40,46 -----
  403. X    return(cur_stat);
  404. X  }
  405. X  
  406. X+ #else /* PASS1 */
  407. X  
  408. X  /* Allows player to select a race            -JWT-    */
  409. X  int choose_race()
  410. X***************
  411. X*** 305,311
  412. X    prt("Choose a class (? for Help):", 20, 2);
  413. X    do
  414. X      {
  415. X!       if (race[i].tclass & bit_array[j])
  416. X      {
  417. X        (void) sprintf(tmp_str, "%c) %s", k+97, class[j].title);
  418. X        put_buffer(tmp_str, m, l);
  419. X
  420. X--- 307,313 -----
  421. X    prt("Choose a class (? for Help):", 20, 2);
  422. X    do
  423. X      {
  424. X!       if (race[i].rtclass & bit_array[j])
  425. X      {
  426. X        (void) sprintf(tmp_str, "%c) %s", k+97, class[j].title);
  427. X        put_buffer(tmp_str, m, l);
  428. X***************
  429. X*** 437,439
  430. X    pause_exit(23, PLAYER_EXIT_PAUSE);
  431. X  }
  432. X  
  433. X
  434. X--- 439,442 -----
  435. X    pause_exit(23, PLAYER_EXIT_PAUSE);
  436. X  }
  437. X  
  438. X+ #endif /* PASS1 */
  439. XIndex: creature.c
  440. XRCS file: RCS/creature.c,v
  441. Xretrieving revision 1.1
  442. Xdiff -c3 -r1.1 creature.c
  443. X*** /tmp/,RCSt1a02665    Mon Jan 18 10:28:08 1988
  444. X--- creature.c    Wed Dec  9 11:52:05 1987
  445. X***************
  446. X*** 663,668
  447. X            prt_chp();
  448. X            break;
  449. X          case 19:    /*Lose experience  */    
  450. X            msg_print("You feel your life draining away!");
  451. X            i = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  452. X            lose_exp(i);
  453. X
  454. X--- 663,670 -----
  455. X            prt_chp();
  456. X            break;
  457. X          case 19:    /*Lose experience  */    
  458. X+           {
  459. X+           bigint_t m;
  460. X            msg_print("You feel your life draining away!");
  461. X            m = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  462. X            lose_exp(m);
  463. X***************
  464. X*** 664,671
  465. X            break;
  466. X          case 19:    /*Lose experience  */    
  467. X            msg_print("You feel your life draining away!");
  468. X!           i = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  469. X!           lose_exp(i);
  470. X            break;
  471. X          case 20:    /*Aggravate monster*/ 
  472. X            (void) aggravate_monster(5);
  473. X
  474. X--- 666,673 -----
  475. X            {
  476. X            bigint_t m;
  477. X            msg_print("You feel your life draining away!");
  478. X!           m = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  479. X!           lose_exp(m);
  480. X            break;
  481. X            }
  482. X          case 20:    /*Aggravate monster*/ 
  483. X***************
  484. X*** 667,672
  485. X            i = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  486. X            lose_exp(i);
  487. X            break;
  488. X          case 20:    /*Aggravate monster*/ 
  489. X            (void) aggravate_monster(5);
  490. X            break;
  491. X
  492. X--- 669,675 -----
  493. X            m = damroll(damstr) + (py.misc.exp / 100)*MON_DRAIN_LIFE;
  494. X            lose_exp(m);
  495. X            break;
  496. X+           }
  497. X          case 20:    /*Aggravate monster*/ 
  498. X            (void) aggravate_monster(5);
  499. X            break;
  500. X***************
  501. X*** 752,758
  502. X  int *mm;
  503. X  {
  504. X    int i, j, newy, newx;
  505. X!   unsigned int movebits;
  506. X    int flag, tflag;
  507. X    int res;
  508. X    cave_type *c_ptr;
  509. X
  510. X--- 755,761 -----
  511. X  int *mm;
  512. X  {
  513. X    int i, j, newy, newx;
  514. X!   bitset_t movebits;
  515. X    int flag, tflag;
  516. X    int res;
  517. X    cave_type *c_ptr;
  518. X***************
  519. X*** 953,959
  520. X  int monptr;
  521. X  int *took_turn;
  522. X  {
  523. X!   unsigned int i;
  524. X    int j, k, y, x;
  525. X    int chance, thrown_spell;
  526. X    double r1;
  527. X
  528. X--- 956,962 -----
  529. X  int monptr;
  530. X  int *took_turn;
  531. X  {
  532. X!   bitset_t i;
  533. X    int j, k, y, x;
  534. X    int chance, thrown_spell;
  535. X    double r1;
  536. XIndex: death.c
  537. XRCS file: RCS/death.c,v
  538. Xretrieving revision 1.1
  539. Xdiff -c3 -r1.1 death.c
  540. X*** /tmp/,RCSt1a02670    Mon Jan 18 10:28:20 1988
  541. X--- death.c    Mon Dec  7 16:52:51 1987
  542. X***************
  543. X*** 174,180
  544. X    (void) strcpy(str3, fill_str(py.misc.tclass));
  545. X    (void) sprintf(str4, "Level : %d", (int)py.misc.lev);
  546. X    (void) strcpy(str4, fill_str(str4));
  547. X!   (void) sprintf(str5, "%d Exp", py.misc.exp);
  548. X    (void) strcpy(str5, fill_str(str5));
  549. X    (void) sprintf(str6, "%d Au", py.misc.au);
  550. X    (void) strcpy(str6, fill_str(str6));
  551. X
  552. X--- 174,180 -----
  553. X    (void) strcpy(str3, fill_str(py.misc.tclass));
  554. X    (void) sprintf(str4, "Level : %d", (int)py.misc.lev);
  555. X    (void) strcpy(str4, fill_str(str4));
  556. X!   (void) sprintf(str5, "%ld Exp", (long)py.misc.exp);
  557. X    (void) strcpy(str5, fill_str(str5));
  558. X    (void) sprintf(str6, "%d Au", py.misc.au);
  559. X    (void) strcpy(str6, fill_str(str6));
  560. X***************
  561. X*** 248,254
  562. X  
  563. X  
  564. X  /* Calculates the total number of points earned        -JWT-     */
  565. X! int total_points()
  566. X  {
  567. X    return (py.misc.max_exp + (100 * py.misc.max_lev));
  568. X  }
  569. X
  570. X--- 248,254 -----
  571. X  
  572. X  
  573. X  /* Calculates the total number of points earned        -JWT-     */
  574. X! long total_points()
  575. X  {
  576. X    return (py.misc.max_exp + (100 * py.misc.max_lev));
  577. X  }
  578. X***************
  579. X*** 265,271
  580. X      exit_game();
  581. X    clear_screen(0, 0);
  582. X    
  583. X!   myscore.points = (long)total_points();
  584. X    myscore.dun_level = dun_level;
  585. X    myscore.lev = py.misc.lev;
  586. X    myscore.max_lev = py.misc.max_lev;
  587. X
  588. X--- 265,271 -----
  589. X      exit_game();
  590. X    clear_screen(0, 0);
  591. X    
  592. X!   myscore.points = total_points();
  593. X    myscore.dun_level = dun_level;
  594. X    myscore.lev = py.misc.lev;
  595. X    myscore.max_lev = py.misc.max_lev;
  596. XIndex: eat.c
  597. XRCS file: RCS/eat.c,v
  598. Xretrieving revision 1.1
  599. Xdiff -c3 -r1.1 eat.c
  600. X*** /tmp/,RCSt1a02675    Mon Jan 18 10:28:28 1988
  601. X--- eat.c    Wed Dec  9 11:53:34 1987
  602. X***************
  603. X*** 6,12
  604. X  /* Eat some food...                    -RAK-    */
  605. X  eat()
  606. X  {
  607. X!   unsigned int i;
  608. X    int j, k, item_val;
  609. X    int redraw, ident;
  610. X    struct flags *f_ptr;
  611. X
  612. X--- 6,12 -----
  613. X  /* Eat some food...                    -RAK-    */
  614. X  eat()
  615. X  {
  616. X!   bitset_t i;
  617. X    int j, k, item_val;
  618. X    int redraw, ident;
  619. X    struct flags *f_ptr;
  620. XIndex: externs.h
  621. XRCS file: RCS/externs.h,v
  622. Xretrieving revision 1.1
  623. Xdiff -c3 -r1.1 externs.h
  624. X*** /tmp/,RCSt1a02680    Mon Jan 18 10:28:35 1988
  625. X--- externs.h    Wed Dec  9 11:42:38 1987
  626. X***************
  627. X*** 1,6
  628. X  extern int character_generated;  /* don't save score until char gen finished */
  629. X  extern int highscore_fd;    /* High score file descriptor */
  630. X! extern int player_max_exp;    /* Max exp possible    */
  631. X  extern char norm_state[STATE_SIZE];    /* Contains seed #     */
  632. X  extern char randes_state[STATE_SIZE];
  633. X  extern int randes_seed;        /* For encoding colors */
  634. X
  635. X--- 1,6 -----
  636. X  extern int character_generated;  /* don't save score until char gen finished */
  637. X  extern int highscore_fd;    /* High score file descriptor */
  638. X! extern bigint_t player_max_exp;    /* Max exp possible    */
  639. X  extern char norm_state[STATE_SIZE];    /* Contains seed #     */
  640. X  extern char randes_state[STATE_SIZE];
  641. X  extern int randes_seed;        /* For encoding colors */
  642. X***************
  643. X*** 32,38
  644. X  extern int closing_flag;    /* Used for closing   */
  645. X  
  646. X  /* Bit testing array                        */
  647. X! extern unsigned int bit_array[32];
  648. X  
  649. X  /*  Following are calculated from max dungeon sizes        */
  650. X  extern int max_panel_rows, max_panel_cols;
  651. X
  652. X--- 32,38 -----
  653. X  extern int closing_flag;    /* Used for closing   */
  654. X  
  655. X  /* Bit testing array                        */
  656. X! extern bitset_t bit_array[32];
  657. X  
  658. X  /*  Following are calculated from max dungeon sizes        */
  659. X  extern int max_panel_rows, max_panel_cols;
  660. X***************
  661. X*** 43,49
  662. X  extern int panel_col_prt, panel_row_prt;
  663. X  
  664. X  /*  Following are all floor definitions                */
  665. X! extern cave_type cave[MAX_HEIGHT][MAX_WIDTH];
  666. X  extern cave_type blank_floor;
  667. X  extern floor_type dopen_floor;
  668. X  extern floor_type lopen_floor;
  669. X
  670. X--- 43,49 -----
  671. X  extern int panel_col_prt, panel_row_prt;
  672. X  
  673. X  /*  Following are all floor definitions                */
  674. X! extern cave_type huge cave[MAX_HEIGHT][MAX_WIDTH];
  675. X  extern cave_type blank_floor;
  676. X  extern floor_type dopen_floor;
  677. X  extern floor_type lopen_floor;
  678. X***************
  679. X*** 59,65
  680. X  /* Following are player variables                */
  681. X  extern player_type py;
  682. X  extern btype player_title[MAX_CLASS][MAX_PLAYER_LEVEL];
  683. X! extern int player_exp[MAX_PLAYER_LEVEL];
  684. X  extern double acc_exp;                      /* Accumulator for fractional exp*/
  685. X  extern dtype bare_hands;
  686. X  extern int char_row;
  687. X
  688. X--- 59,65 -----
  689. X  /* Following are player variables                */
  690. X  extern player_type py;
  691. X  extern btype player_title[MAX_CLASS][MAX_PLAYER_LEVEL];
  692. X! extern bigint_t player_exp[MAX_PLAYER_LEVEL];
  693. X  extern double acc_exp;                      /* Accumulator for fractional exp*/
  694. X  extern dtype bare_hands;
  695. X  extern int char_row;
  696. XIndex: files.c
  697. XRCS file: RCS/files.c,v
  698. Xretrieving revision 1.1
  699. Xdiff -c3 -r1.1 files.c
  700. X*** /tmp/,RCSt1a02685    Mon Jan 18 10:28:44 1988
  701. X--- files.c    Mon Dec  7 16:54:33 1987
  702. X***************
  703. X*** 20,25
  704. X  void exit();
  705. X  #endif
  706. X  
  707. X  /*
  708. X   *  init_scorefile
  709. X   *  Open the score file while we still have the setuid privileges.  Later
  710. X
  711. X--- 20,28 -----
  712. X  void exit();
  713. X  #endif
  714. X  
  715. X+ #ifdef PASS1   /* first half */
  716. X+ 
  717. X+ 
  718. X  /*
  719. X   *  init_scorefile
  720. X   *  Open the score file while we still have the setuid privileges.  Later
  721. X***************
  722. X*** 308,315
  723. X            (void) strcpy(out_val, c_ptr->name);
  724. X            (void) strcat(out_val, "                              ");
  725. X            (void) fprintf(file1, "%d  %s     (%c)\n", i, out_val, c_ptr->cchar);
  726. X!           (void) fprintf(file1, "     Speed ==%d  Level     ==%d  Exp ==%d\n",
  727. X!               c_ptr->speed, c_ptr->level, (int)c_ptr->mexp);
  728. X            (void) fprintf(file1, "     AC    ==%d  Eye-sight ==%d  HD  ==%s\n",
  729. X                c_ptr->ac, c_ptr->aaf, c_ptr->hd);
  730. X            if (0x80000000 & c_ptr->cmove)
  731. X
  732. X--- 311,318 -----
  733. X            (void) strcpy(out_val, c_ptr->name);
  734. X            (void) strcat(out_val, "                              ");
  735. X            (void) fprintf(file1, "%d  %s     (%c)\n", i, out_val, c_ptr->cchar);
  736. X!           (void) fprintf(file1, "     Speed ==%d  Level     ==%d  Exp ==%ld\n",
  737. X!               c_ptr->speed, c_ptr->level, (long)c_ptr->mexp);
  738. X            (void) fprintf(file1, "     AC    ==%d  Eye-sight ==%d  HD  ==%s\n",
  739. X                c_ptr->ac, c_ptr->aaf, c_ptr->hd);
  740. X            if (0x80000000 & c_ptr->cmove)
  741. X***************
  742. X*** 610,615
  743. X      }
  744. X  }
  745. X  
  746. X  
  747. X  /* Print the character to a file or device        -RAK-     */
  748. X  file_character()
  749. X
  750. X--- 613,619 -----
  751. X      }
  752. X  }
  753. X  
  754. X+ #else /* PASS1 */
  755. X  
  756. X  /* Print the character to a file or device        -RAK-     */
  757. X  file_character()
  758. X***************
  759. X*** 669,675
  760. X        (void) fprintf(file1, "     Level      :%6d", (int)py.misc.lev);
  761. X        (void) fprintf(file1, "     Max Hit Points :%6d\n", py.misc.mhp);
  762. X        (void) fprintf(file1, "  + To Damage :%6d", py.misc.dis_td);
  763. X!       (void) fprintf(file1, "     Experience :%6d", py.misc.exp);
  764. X        (void) fprintf(file1, "     Cur Hit Points :%6d\n", (int) (py.misc.chp));
  765. X        (void) fprintf(file1, "  + To AC     :%6d", py.misc.dis_tac);
  766. X        (void) fprintf(file1, "     Gold       :%6d", py.misc.au);
  767. X
  768. X--- 673,679 -----
  769. X        (void) fprintf(file1, "     Level      :%6d", (int)py.misc.lev);
  770. X        (void) fprintf(file1, "     Max Hit Points :%6d\n", py.misc.mhp);
  771. X        (void) fprintf(file1, "  + To Damage :%6d", py.misc.dis_td);
  772. X!       (void) fprintf(file1, "     Experience :%6ld", (long)py.misc.exp);
  773. X        (void) fprintf(file1, "     Cur Hit Points :%6d\n", (int) (py.misc.chp));
  774. X        (void) fprintf(file1, "  + To AC     :%6d", py.misc.dis_tac);
  775. X        (void) fprintf(file1, "     Gold       :%6d", py.misc.au);
  776. X***************
  777. X*** 799,801
  778. X      }
  779. X      }
  780. X  }
  781. X
  782. X--- 803,806 -----
  783. X      }
  784. X      }
  785. X  }
  786. X+ #endif /* PASS1 */
  787. XIndex: misc1.c
  788. XRCS file: RCS/misc1.c,v
  789. Xretrieving revision 1.1
  790. Xdiff -c3 -r1.1 misc1.c
  791. X*** /tmp/,RCSt1a02690    Mon Jan 18 10:28:57 1988
  792. X--- misc1.c    Wed Dec  9 12:51:20 1987
  793. X***************
  794. X*** 179,186
  795. X  int mean;
  796. X  int stand;
  797. X  {
  798. X!   return ((int)((sqrt(-2.0*log(randint((int)9999999)/10000000.0))*
  799. X!          cos(6.283*(randint((int)9999999)/10000000.0))*stand) + mean));
  800. X  }
  801. X  
  802. X  
  803. X
  804. X--- 179,187 -----
  805. X  int mean;
  806. X  int stand;
  807. X  {
  808. X!   /* randint returns number < 2**16; used to divide by 10000000! --peterw 11/87 */
  809. X!   return ((int)((sqrt(-2.0*log(randint((int)49999)/50000.0))*
  810. X!          cos(6.283*(randint((int)49999)/50000.0))*stand) + mean));
  811. X  }
  812. X  
  813. X  
  814. X***************
  815. X*** 187,193
  816. X  /* Returns position of first set bit            -RAK-    */
  817. X  /*     and clears that bit */
  818. X  int bit_pos(test)
  819. X! unsigned int *test;
  820. X  {
  821. X    int i;
  822. X    int mask = 0x1;
  823. X
  824. X--- 188,194 -----
  825. X  /* Returns position of first set bit            -RAK-    */
  826. X  /*     and clears that bit */
  827. X  int bit_pos(test)
  828. X! bitset_t *test;
  829. X  {
  830. X    int i;
  831. X    int mask = 0x1;
  832. X***************
  833. X*** 192,198
  834. X    int i;
  835. X    int mask = 0x1;
  836. X  
  837. X!   for (i = 0; i < sizeof(int)*8; i++) {
  838. X      if (*test & mask) {
  839. X        *test &= ~mask;
  840. X        return(i);
  841. X
  842. X--- 193,199 -----
  843. X    int i;
  844. X    int mask = 0x1;
  845. X  
  846. X!   for (i = 0; i < sizeof(*test)*8; i++) {
  847. X      if (*test & mask) {
  848. X        *test &= ~mask;
  849. X        return(i);
  850. XIndex: misc2.c
  851. XRCS file: RCS/misc2.c,v
  852. Xretrieving revision 1.1
  853. Xdiff -c3 -r1.1 misc2.c
  854. X*** /tmp/,RCSt1a02695    Mon Jan 18 10:29:11 1988
  855. X--- misc2.c    Wed Dec  9 12:47:19 1987
  856. X***************
  857. X*** 453,458
  858. X  }
  859. X  
  860. X  
  861. X  /* Print number with header at given row, column     -RAK-    */
  862. X  prt_num(header, num, row, column)
  863. X  vtype header;
  864. X
  865. X--- 453,471 -----
  866. X  }
  867. X  
  868. X  
  869. X+ /* Print long number with header at given row, column     -RAK-    */
  870. X+ prt_lnum(header, num, row, column)
  871. X+ vtype header;
  872. X+ long num;
  873. X+ int row, column;
  874. X+ {
  875. X+   vtype out_val;
  876. X+ 
  877. X+   (void) sprintf(out_val, "%s%6ld ", header, num);
  878. X+   put_buffer(out_val, row, column);
  879. X+ }
  880. X+ 
  881. X+ 
  882. X  /* Print number with header at given row, column     -RAK-    */
  883. X  prt_num(header, num, row, column)
  884. X  vtype header;
  885. X***************
  886. X*** 923,929
  887. X    prt_stat("CON : ", py.stats.ccon,        10, stat_column);
  888. X    prt_stat("CHR : ", py.stats.cchr,        11, stat_column);
  889. X    prt_num( "LEV : ", (int)py.misc.lev,    13, stat_column);
  890. X!   prt_num( "EXP : ", py.misc.exp,         14, stat_column);
  891. X    prt_num( "MANA: ", (int)(py.misc.cmana), 15, stat_column);
  892. X    prt_num( "MHP : ", py.misc.mhp,         16, stat_column);
  893. X    prt_num( "CHP : ", (int)(py.misc.chp),  17, stat_column);
  894. X
  895. X--- 936,942 -----
  896. X    prt_stat("CON : ", py.stats.ccon,        10, stat_column);
  897. X    prt_stat("CHR : ", py.stats.cchr,        11, stat_column);
  898. X    prt_num( "LEV : ", (int)py.misc.lev,    13, stat_column);
  899. X!   prt_lnum( "EXP : ", (long)py.misc.exp,         14, stat_column);
  900. X    prt_num( "MANA: ", (int)(py.misc.cmana), 15, stat_column);
  901. X    prt_num( "MHP : ", py.misc.mhp,         16, stat_column);
  902. X    prt_num( "CHP : ", (int)(py.misc.chp),  17, stat_column);
  903. X***************
  904. X*** 1018,1024
  905. X  put_misc2()
  906. X  {
  907. X    prt_num("Level      : ", (int)py.misc.lev, 9, 30);
  908. X!   prt_num("Experience : ", py.misc.exp, 10, 30);
  909. X    prt_num("Gold       : ", py.misc.au, 11, 30);
  910. X    prt_num("Max Hit Points : ", py.misc.mhp, 9, 53);
  911. X    prt_num("Cur Hit Points : ", (int)py.misc.chp, 10, 53);
  912. X
  913. X--- 1031,1037 -----
  914. X  put_misc2()
  915. X  {
  916. X    prt_num("Level      : ", (int)py.misc.lev, 9, 30);
  917. X!   prt_lnum("Experience : ", (long)py.misc.exp, 10, 30);
  918. X    prt_num("Gold       : ", py.misc.au, 11, 30);
  919. X    prt_num("Max Hit Points : ", py.misc.mhp, 9, 53);
  920. X    prt_num("Cur Hit Points : ", (int)py.misc.chp, 10, 53);
  921. X***************
  922. X*** 1392,1398
  923. X  int learn_spell(redraw)
  924. X  int *redraw;
  925. X  {
  926. X!   unsigned int j;
  927. X    int i, k, sn, sc;
  928. X    int new_spells;
  929. X    unsigned int spell_flag;
  930. X
  931. X--- 1405,1411 -----
  932. X  int learn_spell(redraw)
  933. X  int *redraw;
  934. X  {
  935. X!   bitset_t j;
  936. X    int i, k, sn, sc;
  937. X    int new_spells;
  938. X    bitset_t spell_flag;
  939. X***************
  940. X*** 1395,1401
  941. X    unsigned int j;
  942. X    int i, k, sn, sc;
  943. X    int new_spells;
  944. X!   unsigned int spell_flag;
  945. X    spl_type spell;
  946. X    int learn;
  947. X    spell_type *s_ptr;
  948. X
  949. X--- 1408,1414 -----
  950. X    bitset_t j;
  951. X    int i, k, sn, sc;
  952. X    int new_spells;
  953. X!   bitset_t spell_flag;
  954. X    spl_type spell;
  955. X    int learn;
  956. X    spell_type *s_ptr;
  957. X***************
  958. X*** 1467,1473
  959. X  {
  960. X    int i, j, k, l, new_spell;
  961. X    int test_array[32];
  962. X!   unsigned int spell_flag;
  963. X    int learn;
  964. X    spell_type *s_ptr;
  965. X  
  966. X
  967. X--- 1480,1486 -----
  968. X  {
  969. X    int i, j, k, l, new_spell;
  970. X    int test_array[32];
  971. X!   bitset_t int spell_flag;
  972. X    int learn;
  973. X    spell_type *s_ptr;
  974. X  
  975. X***************
  976. X*** 1582,1588
  977. X  /* Increases hit points and level            -RAK-    */
  978. X  gain_level()
  979. X  {
  980. X!   int nhp, dif_exp, need_exp;
  981. X    int redraw;
  982. X    vtype out_val;
  983. X    struct misc *p_ptr;
  984. X
  985. X--- 1595,1602 -----
  986. X  /* Increases hit points and level            -RAK-    */
  987. X  gain_level()
  988. X  {
  989. X!   bigint_t dif_exp, need_exp;
  990. X!   int nhp;
  991. X    int redraw;
  992. X    vtype out_val;
  993. X    struct misc *p_ptr;
  994. X***************
  995. X*** 1640,1646
  996. X        if (p_ptr->exp > p_ptr->max_exp)
  997. X      p_ptr->max_exp = p_ptr->exp;
  998. X      }
  999. X!   prt_num("", py.misc.exp, 14, stat_column+6);
  1000. X  }
  1001. X  
  1002. X  
  1003. X
  1004. X--- 1654,1660 -----
  1005. X        if (p_ptr->exp > p_ptr->max_exp)
  1006. X      p_ptr->max_exp = p_ptr->exp;
  1007. X      }
  1008. X!   prt_lnum("", (long)py.misc.exp, 14, stat_column+6);
  1009. X  }
  1010. X  
  1011. X  
  1012. X***************
  1013. X*** 1648,1653
  1014. X  insert_str(object_str, mtc_str, insert)
  1015. X  char *object_str, *mtc_str, *insert;
  1016. X  {
  1017. X    int mtc_len, obj_len;
  1018. X    int bound, pc, i;
  1019. X    char *temp_obj, *temp_mtc;
  1020. X
  1021. X--- 1662,1668 -----
  1022. X  insert_str(object_str, mtc_str, insert)
  1023. X  char *object_str, *mtc_str, *insert;
  1024. X  {
  1025. X+ #ifdef XENIX
  1026. X    int mtc_len, obj_len;
  1027. X    char *bound, *pc;
  1028. X    int i;
  1029. X***************
  1030. X*** 1649,1654
  1031. X  char *object_str, *mtc_str, *insert;
  1032. X  {
  1033. X    int mtc_len, obj_len;
  1034. X    int bound, pc, i;
  1035. X    char *temp_obj, *temp_mtc;
  1036. X    char out_val[80];
  1037. X
  1038. X--- 1664,1698 -----
  1039. X  {
  1040. X  #ifdef XENIX
  1041. X    int mtc_len, obj_len;
  1042. X+   char *bound, *pc;
  1043. X+   int i;
  1044. X+   char *temp_obj, *temp_mtc;
  1045. X+   char out_val[80];
  1046. X+ 
  1047. X+   mtc_len = strlen(mtc_str);
  1048. X+   obj_len = strlen(object_str);
  1049. X+   bound = object_str + obj_len - mtc_len;
  1050. X+   for (pc = object_str; pc <= bound; pc++)
  1051. X+     {
  1052. X+       temp_obj = pc;
  1053. X+       temp_mtc = mtc_str;
  1054. X+       for (i = 0; i < mtc_len; i++)
  1055. X+     if (*temp_obj++ != *temp_mtc++)
  1056. X+       break;
  1057. X+       if (i == mtc_len)
  1058. X+     break;
  1059. X+     }
  1060. X+ 
  1061. X+   if (pc <= bound)
  1062. X+     {
  1063. X+       (void) strncpy(out_val, object_str, pc-object_str);
  1064. X+       out_val[pc-object_str] = '\0';
  1065. X+       (void) strcat(out_val, insert);
  1066. X+       (void) strcat(out_val, pc+mtc_len);
  1067. X+       (void) strcpy(object_str, out_val);
  1068. X+     }
  1069. X+ #else
  1070. X+   int mtc_len, obj_len;
  1071. X    int bound, pc, i;
  1072. X    char *temp_obj, *temp_mtc;
  1073. X    char out_val[80];
  1074. X***************
  1075. X*** 1675,1680
  1076. X        (void) strcat(out_val, (char *)(pc+mtc_len));
  1077. X        (void) strcpy(object_str, out_val);
  1078. X      }
  1079. X  }
  1080. X  
  1081. X  
  1082. X
  1083. X--- 1719,1725 -----
  1084. X        (void) strcat(out_val, (char *)(pc+mtc_len));
  1085. X        (void) strcpy(object_str, out_val);
  1086. X      }
  1087. X+ #endif XENIX
  1088. X  }
  1089. X  
  1090. X  
  1091. X***************
  1092. X*** 1742,1747
  1093. X        inkey(&x);
  1094. X        switch(x)
  1095. X      {
  1096. X      case 13:
  1097. X        break;
  1098. X      default:
  1099. X
  1100. X--- 1787,1796 -----
  1101. X        inkey(&x);
  1102. X        switch(x)
  1103. X      {
  1104. X+ #ifdef BUGGY_CURSES
  1105. X+     case 10:
  1106. X+       x = 13;
  1107. X+ #endif BUGGY_CURSES
  1108. X      case 13:
  1109. X        break;
  1110. X      default:
  1111. XIndex: moria1.c
  1112. XRCS file: RCS/moria1.c,v
  1113. Xretrieving revision 1.1
  1114. Xdiff -c3 -r1.1 moria1.c
  1115. X*** /tmp/,RCSt1a02700    Mon Jan 18 10:29:33 1988
  1116. X--- moria1.c    Wed Dec  9 11:48:00 1987
  1117. X***************
  1118. X*** 68,74
  1119. X  treasure_type tobj;
  1120. X  int factor;
  1121. X  {
  1122. X!   unsigned int item_flags;
  1123. X    int i, old_dis_ac;
  1124. X    struct flags *p_ptr;
  1125. X    struct misc *m_ptr;
  1126. X
  1127. X--- 68,74 -----
  1128. X  treasure_type tobj;
  1129. X  int factor;
  1130. X  {
  1131. X!   bitset_t item_flags;
  1132. X    int i, old_dis_ac;
  1133. X    struct flags *p_ptr;
  1134. X    struct misc *m_ptr;
  1135. XIndex: moria2.c
  1136. XRCS file: RCS/moria2.c,v
  1137. Xretrieving revision 1.1
  1138. Xdiff -c3 -r1.1 moria2.c
  1139. X*** /tmp/,RCSt1a02705    Mon Jan 18 10:29:49 1988
  1140. X--- moria2.c    Wed Dec  9 11:47:16 1987
  1141. X***************
  1142. X*** 261,267
  1143. X  int *sn, *sc;
  1144. X  int *redraw;
  1145. X  {
  1146. X!   unsigned int j;
  1147. X    int i, k;
  1148. X    spl_type spell;
  1149. X    int cast;
  1150. X
  1151. X--- 261,267 -----
  1152. X  int *sn, *sc;
  1153. X  int *redraw;
  1154. X  {
  1155. X!   bitset_t j;
  1156. X    int i, k;
  1157. X    spl_type spell;
  1158. X    int cast;
  1159. X***************
  1160. X*** 327,333
  1161. X  /* Examine a Book                    -RAK-    */
  1162. X  examine_book()
  1163. X  {
  1164. X!   unsigned int j;
  1165. X    int i, k, item_val;
  1166. X    int redraw, flag;
  1167. X    char dummy;
  1168. X
  1169. X--- 327,333 -----
  1170. X  /* Examine a Book                    -RAK-    */
  1171. X  examine_book()
  1172. X  {
  1173. X!   bitset_t j;
  1174. X    int i, k, item_val;
  1175. X    int redraw, flag;
  1176. X    char dummy;
  1177. X***************
  1178. X*** 670,676
  1179. X  /* based on flags set in the main creature record                */
  1180. X  monster_death(y, x, flags)
  1181. X  int y, x;
  1182. X! unsigned int flags;
  1183. X  {
  1184. X    int i;
  1185. X  
  1186. X
  1187. X--- 670,676 -----
  1188. X  /* based on flags set in the main creature record                */
  1189. X  monster_death(y, x, flags)
  1190. X  int y, x;
  1191. X! bitset_t flags;
  1192. X  {
  1193. X    int i;
  1194. X  
  1195. XIndex: potions.c
  1196. XRCS file: RCS/potions.c,v
  1197. Xretrieving revision 1.1
  1198. Xdiff -c3 -r1.1 potions.c
  1199. X*** /tmp/,RCSt1a02710    Mon Jan 18 10:30:05 1988
  1200. X--- potions.c    Wed Dec  9 11:44:23 1987
  1201. X***************
  1202. X*** 6,13
  1203. X  /* Potions for the quaffing                -RAK-    */
  1204. X  quaff()
  1205. X  {
  1206. X!   unsigned int i;
  1207. X!   int j, k, l, m, item_val;
  1208. X    int redraw, ident;
  1209. X    treasure_type *i_ptr;
  1210. X    struct misc *m_ptr;
  1211. X
  1212. X--- 6,14 -----
  1213. X  /* Potions for the quaffing                -RAK-    */
  1214. X  quaff()
  1215. X  {
  1216. X!   bitset_t i;
  1217. X!   bigint_t l, m;
  1218. X!   int j, k, item_val;
  1219. X    int redraw, ident;
  1220. X    treasure_type *i_ptr;
  1221. X    struct misc *m_ptr;
  1222. X***************
  1223. X*** 244,250
  1224. X                msg_print("You feel your memories fade...");
  1225. X                msg_print("");
  1226. X                l = (py.misc.exp/5.0); 
  1227. X!               lose_exp(randint(l)+l);
  1228. X                ident = TRUE;
  1229. X                break;
  1230. X              case 34:
  1231. X
  1232. X--- 245,251 -----
  1233. X                msg_print("You feel your memories fade...");
  1234. X                msg_print("");
  1235. X                l = (py.misc.exp/5.0); 
  1236. X!               lose_exp((bigint_t)randint((int)l)+l);
  1237. X                ident = TRUE;
  1238. X                break;
  1239. X              case 34:
  1240. X***************
  1241. X*** 347,353
  1242. X            if (i_ptr->flags != 0) 
  1243. X          {
  1244. X            m_ptr = &py.misc;
  1245. X!           m_ptr->exp += (int)(i_ptr->level/m_ptr->lev + 0.5);
  1246. X            prt_experience();
  1247. X          }
  1248. X            add_food(i_ptr->p1);
  1249. X
  1250. X--- 348,354 -----
  1251. X            if (i_ptr->flags != 0) 
  1252. X          {
  1253. X            m_ptr = &py.misc;
  1254. X!           m_ptr->exp += (bigint_t)(i_ptr->level/m_ptr->lev + 0.5);
  1255. X            prt_experience();
  1256. X          }
  1257. X            add_food(i_ptr->p1);
  1258. XIndex: scrolls.c
  1259. XRCS file: RCS/scrolls.c,v
  1260. Xretrieving revision 1.1
  1261. Xdiff -c3 -r1.1 scrolls.c
  1262. X*** /tmp/,RCSt1a02715    Mon Jan 18 10:30:14 1988
  1263. X--- scrolls.c    Wed Dec  9 11:43:34 1987
  1264. X***************
  1265. X*** 14,20
  1266. X  /* Scrolls for the reading                -RAK-    */
  1267. X  read_scroll()
  1268. X  {
  1269. X!   unsigned int i;
  1270. X    int j, k, l, item_val;
  1271. X    int y, x;
  1272. X    int tmp[5];
  1273. X
  1274. X--- 14,20 -----
  1275. X  /* Scrolls for the reading                -RAK-    */
  1276. X  read_scroll()
  1277. X  {
  1278. X!   bitset_t i;
  1279. X    int j, k, l, item_val;
  1280. X    int y, x;
  1281. X    int tmp[5];
  1282. XIndex: spells.c
  1283. XRCS file: RCS/spells.c,v
  1284. Xretrieving revision 1.1
  1285. Xdiff -c3 -r1.1 spells.c
  1286. X*** /tmp/,RCSt1a02720    Mon Jan 18 10:30:26 1988
  1287. X--- spells.c    Wed Dec  9 11:43:08 1987
  1288. X***************
  1289. X*** 649,655
  1290. X  /* Return flags for given type area affect        -RAK-    */
  1291. X  get_flags(typ, weapon_type, harm_type, destroy)
  1292. X  int typ;
  1293. X! int *weapon_type, *harm_type;
  1294. X  int (**destroy)();
  1295. X  {
  1296. X    int set_null(), set_fire_destroy(), set_frost_destroy();
  1297. X
  1298. X--- 649,656 -----
  1299. X  /* Return flags for given type area affect        -RAK-    */
  1300. X  get_flags(typ, weapon_type, harm_type, destroy)
  1301. X  int typ;
  1302. X! bitset_t *weapon_type;
  1303. X! int *harm_type;
  1304. X  int (**destroy)();
  1305. X  {
  1306. X    int set_null(), set_fire_destroy(), set_frost_destroy();
  1307. X***************
  1308. X*** 701,707
  1309. X  ctype bolt_typ;
  1310. X  {
  1311. X    int i, oldy, oldx, dist;
  1312. X!   int weapon_type, harm_type;
  1313. X    int flag;
  1314. X    int (*dummy)();
  1315. X    cave_type *c_ptr;
  1316. X
  1317. X--- 702,709 -----
  1318. X  ctype bolt_typ;
  1319. X  {
  1320. X    int i, oldy, oldx, dist;
  1321. X!   bitset_t weapon_type;
  1322. X!   int harm_type;
  1323. X    int flag;
  1324. X    int (*dummy)();
  1325. X    cave_type *c_ptr;
  1326. X***************
  1327. X*** 782,788
  1328. X    int i, j, k;
  1329. X    int dam, max_dis, thit, tkill;
  1330. X    int oldy, oldx, dist;
  1331. X!   int weapon_type, harm_type;
  1332. X    int flag;
  1333. X    int (*destroy)();
  1334. X    cave_type *c_ptr;
  1335. X
  1336. X--- 784,791 -----
  1337. X    int i, j, k;
  1338. X    int dam, max_dis, thit, tkill;
  1339. X    int oldy, oldx, dist;
  1340. X!   bitset_t weapon_type;
  1341. X!   int harm_type;
  1342. X    int flag;
  1343. X    int (*destroy)();
  1344. X    cave_type *c_ptr;
  1345. X***************
  1346. X*** 830,836
  1347. X              {
  1348. X                c_ptr = &cave[i][j];
  1349. X                if (c_ptr->tptr != 0) 
  1350. X!                 if (destroy(t_list[c_ptr->tptr].tval))
  1351. X                    (void) delete_object(i, j);
  1352. X                if (c_ptr->fopen) 
  1353. X                  {
  1354. X
  1355. X--- 833,839 -----
  1356. X              {
  1357. X                c_ptr = &cave[i][j];
  1358. X                if (c_ptr->tptr != 0) 
  1359. X!                 if ((*destroy)(t_list[c_ptr->tptr].tval))
  1360. X                    (void) delete_object(i, j);
  1361. X                if (c_ptr->fopen) 
  1362. X                  {
  1363. X***************
  1364. X*** 920,926
  1365. X  {
  1366. X    int i, j;
  1367. X    int dam, max_dis;
  1368. X!   int weapon_type, harm_type;
  1369. X    int (*destroy)();
  1370. X    cave_type *c_ptr;
  1371. X    monster_type *m_ptr;
  1372. X
  1373. X--- 923,930 -----
  1374. X  {
  1375. X    int i, j;
  1376. X    int dam, max_dis;
  1377. X!   bitset_t weapon_type;
  1378. X!   int harm_type;
  1379. X    int (*destroy)();
  1380. X    cave_type *c_ptr;
  1381. X    monster_type *m_ptr;
  1382. X***************
  1383. X*** 935,941
  1384. X        {
  1385. X          c_ptr = &cave[i][j];
  1386. X          if (c_ptr->tptr != 0) 
  1387. X!           if (destroy(t_list[c_ptr->tptr].tval))
  1388. X          (void) delete_object(i, j);
  1389. X          if (c_ptr->fopen) 
  1390. X            {
  1391. X
  1392. X--- 939,945 -----
  1393. X        {
  1394. X          c_ptr = &cave[i][j];
  1395. X          if (c_ptr->tptr != 0) 
  1396. X!           if ((*destroy)(t_list[c_ptr->tptr].tval))
  1397. X          (void) delete_object(i, j);
  1398. X          if (c_ptr->fopen) 
  1399. X            {
  1400. X***************
  1401. X*** 2229,2235
  1402. X  
  1403. X  /* Lose experience                    -RAK-    */
  1404. X  lose_exp(amount)
  1405. X! int amount;
  1406. X  {
  1407. X    int i, j;
  1408. X    int av_hp, lose_hp;
  1409. X
  1410. X--- 2233,2239 -----
  1411. X  
  1412. X  /* Lose experience                    -RAK-    */
  1413. X  lose_exp(amount)
  1414. X! bigint_t amount;
  1415. X  {
  1416. X    int i, j;
  1417. X    int av_hp, lose_hp;
  1418. XIndex: staffs.c
  1419. XRCS file: RCS/staffs.c,v
  1420. Xretrieving revision 1.1
  1421. Xdiff -c3 -r1.1 staffs.c
  1422. X*** /tmp/,RCSt1a02725    Mon Jan 18 10:30:49 1988
  1423. X--- staffs.c    Wed Dec  9 11:54:00 1987
  1424. X***************
  1425. X*** 6,12
  1426. X  /* Use a staff...                    -RAK-    */
  1427. X  use()
  1428. X  {
  1429. X!   unsigned int i;
  1430. X    int j, k, item_val, chance;
  1431. X    int y, x;
  1432. X    int redraw, ident;
  1433. X
  1434. X--- 6,12 -----
  1435. X  /* Use a staff...                    -RAK-    */
  1436. X  use()
  1437. X  {
  1438. X!   bitset_t i;
  1439. X    int j, k, item_val, chance;
  1440. X    int y, x;
  1441. X    int redraw, ident;
  1442. XIndex: store2.c
  1443. XRCS file: RCS/store2.c,v
  1444. Xretrieving revision 1.1
  1445. Xdiff -c3 -r1.1 store2.c
  1446. X*** /tmp/,RCSt1a02730    Mon Jan 18 10:30:56 1988
  1447. X--- store2.c    Sun Dec  6 14:54:57 1987
  1448. X***************
  1449. X*** 948,954
  1450. X        (void) sprintf(out_val, "Selling %s (%c)", tmp_str, item_val+97);
  1451. X        msg_print(out_val);
  1452. X        msg_print(" ");
  1453. X!       if ((store_buy[store_num])(inventory[INVEN_MAX].tval))
  1454. X      if (store_check_num(store_num)) 
  1455. X        switch(sell_haggle(store_num, &price, inventory[INVEN_MAX]))
  1456. X          {
  1457. X
  1458. X--- 948,954 -----
  1459. X        (void) sprintf(out_val, "Selling %s (%c)", tmp_str, item_val+97);
  1460. X        msg_print(out_val);
  1461. X        msg_print(" ");
  1462. X!       if ((*store_buy[store_num])(inventory[INVEN_MAX].tval))
  1463. X      if (store_check_num(store_num)) 
  1464. X        switch(sell_haggle(store_num, &price, inventory[INVEN_MAX]))
  1465. X          {
  1466. XIndex: types.h
  1467. XRCS file: RCS/types.h,v
  1468. Xretrieving revision 1.1
  1469. Xdiff -c3 -r1.1 types.h
  1470. X*** /tmp/,RCSt1a02735    Mon Jan 18 10:31:08 1988
  1471. X--- types.h    Wed Dec  9 11:44:00 1987
  1472. X***************
  1473. X*** 1,3
  1474. X  typedef unsigned char byteint;
  1475. X  #ifdef NO_SIGNED_CHARS
  1476. X  typedef short bytlint;
  1477. X
  1478. X--- 1,5 -----
  1479. X+ typedef unsigned long bitset_t;
  1480. X+ typedef unsigned long bigint_t;
  1481. X  typedef unsigned char byteint;
  1482. X  #ifdef NO_SIGNED_CHARS
  1483. X  typedef short bytlint;
  1484. X***************
  1485. X*** 19,26
  1486. X  typedef struct creature_type
  1487. X  {
  1488. X    ctype name;           /* Descrip of creature    */
  1489. X!   unsigned int cmove;    /* Bit field        */
  1490. X!   unsigned int spells;  /* Creature spells    */
  1491. X    wordint cdefense;    /* Bit field        */
  1492. X    worlint sleep;    /* Inactive counter    */
  1493. X    wordint mexp;     /* Exp value for kill    */
  1494. X
  1495. X--- 21,28 -----
  1496. X  typedef struct creature_type
  1497. X  {
  1498. X    ctype name;           /* Descrip of creature    */
  1499. X!   bitset_t cmove;    /* Bit field        */
  1500. X!   bitset_t spells;  /* Creature spells    */
  1501. X    wordint cdefense;    /* Bit field        */
  1502. X    worlint sleep;    /* Inactive counter    */
  1503. X    wordint mexp;     /* Exp value for kill    */
  1504. X***************
  1505. X*** 54,60
  1506. X    ttype name;            /* Object name        */
  1507. X    byteint tval;            /* Category number    */
  1508. X    char tchar;        /* Character representation*/
  1509. X!   unsigned int flags;    /* Special flags        */
  1510. X    int p1;            /* Misc. use variable    */
  1511. X    int cost;            /* Cost of item        */
  1512. X    int subval;            /* Sub-category number    */
  1513. X
  1514. X--- 56,62 -----
  1515. X    ttype name;            /* Object name        */
  1516. X    byteint tval;            /* Category number    */
  1517. X    char tchar;        /* Character representation*/
  1518. X!   bitset_t flags;    /* Special flags        */
  1519. X    int p1;            /* Misc. use variable    */
  1520. X    int cost;            /* Cost of item        */
  1521. X    int subval;            /* Sub-category number    */
  1522. X***************
  1523. X*** 77,84
  1524. X        vtype sex;    /* Sex of character    */
  1525. X        vtype title;    /* Character's title    */
  1526. X        vtype tclass;    /* Character's class    */
  1527. X!       int max_exp;    /* Max experience*/
  1528. X!       int exp;            /* Cur experience    */
  1529. X        int au;            /* Gold        */
  1530. X        wordint age;    /* Characters age*/
  1531. X        wordint ht;    /* Height    */
  1532. X
  1533. X--- 79,86 -----
  1534. X        vtype sex;    /* Sex of character    */
  1535. X        vtype title;    /* Character's title    */
  1536. X        vtype tclass;    /* Character's class    */
  1537. X!       bigint_t max_exp;    /* Max experience*/
  1538. X!       bigint_t exp;            /* Cur experience    */
  1539. X        int au;            /* Gold        */
  1540. X        wordint age;    /* Characters age*/
  1541. X        wordint ht;    /* Height    */
  1542. X***************
  1543. X*** 128,134
  1544. X      } stats;
  1545. X    struct flags
  1546. X      {
  1547. X!       unsigned int status;    /* Status of player    */
  1548. X        int rest;                    /* Rest counter          */
  1549. X        int blind;            /* Blindness counter   */
  1550. X        int paralysis;            /* Paralysis counter   */
  1551. X
  1552. X--- 130,136 -----
  1553. X      } stats;
  1554. X    struct flags
  1555. X      {
  1556. X!       bitset_t status;    /* Status of player    */
  1557. X        int rest;                    /* Rest counter          */
  1558. X        int blind;            /* Blindness counter   */
  1559. X        int paralysis;            /* Paralysis counter   */
  1560. X***************
  1561. X*** 221,227
  1562. X    bytlint bsav;         /* Race base for saving throw    */
  1563. X    bytlint bhitdie;      /* Base hit points for race    */
  1564. X    bytlint infra;        /* See infra-red        */
  1565. X!   unsigned int tclass;  /* Bit field for class types    */
  1566. X  } race_type;
  1567. X  
  1568. X  typedef struct class_type
  1569. X
  1570. X--- 223,229 -----
  1571. X    bytlint bsav;         /* Race base for saving throw    */
  1572. X    bytlint bhitdie;      /* Base hit points for race    */
  1573. X    bytlint infra;        /* See infra-red        */
  1574. X!   bitset_t rtclass;  /* Bit field for class types    */
  1575. X  } race_type;
  1576. X  
  1577. X  typedef struct class_type
  1578. X***************
  1579. X*** 270,275
  1580. X    int fm;          /* used for hidden objects */
  1581. X    int pl;
  1582. X    int tl;
  1583. X  } cave_type;
  1584. X  
  1585. X  typedef struct owner_type
  1586. X
  1587. X--- 272,279 -----
  1588. X    int fm;          /* used for hidden objects */
  1589. X    int pl;
  1590. X    int tl;
  1591. X+   int __pad1;    /* pad to 16 bytes */
  1592. X+   int __pad2;    /* pad to 16 bytes */
  1593. X  } cave_type;
  1594. X  
  1595. X  typedef struct owner_type
  1596. XIndex: variables.c
  1597. XRCS file: RCS/variables.c,v
  1598. Xretrieving revision 1.1
  1599. Xdiff -c3 -r1.1 variables.c
  1600. X*** /tmp/,RCSt1a02740    Mon Jan 18 10:31:18 1988
  1601. X--- variables.c    Wed Dec  9 11:44:15 1987
  1602. X***************
  1603. X*** 3,9
  1604. X  
  1605. X  int character_generated = 0;    /* don't save score until char gen finished */
  1606. X  int highscore_fd;            /* File descriptor to high score file */
  1607. X! int player_max_exp;            /* Max exp possible    */
  1608. X  char norm_state[STATE_SIZE];    /* normal seed */
  1609. X  char randes_state[STATE_SIZE];    /* For encoding colors */
  1610. X  int randes_seed;                /* for restarting randes_state */
  1611. X
  1612. X--- 3,9 -----
  1613. X  
  1614. X  int character_generated = 0;    /* don't save score until char gen finished */
  1615. X  int highscore_fd;            /* File descriptor to high score file */
  1616. X! bigint_t player_max_exp;            /* Max exp possible    */
  1617. X  char norm_state[STATE_SIZE];    /* normal seed */
  1618. X  char randes_state[STATE_SIZE];    /* For encoding colors */
  1619. X  int randes_seed;                /* for restarting randes_state */
  1620. X***************
  1621. X*** 48,54
  1622. X  int closing_flag = 0;             /* Used for closing   */
  1623. X  
  1624. X  /* Bit testing array                        */
  1625. X! unsigned int bit_array[32] = {0x00000001, 0x00000002, 0x00000004, 0x00000008,
  1626. X                  0x00000010, 0x00000020, 0x00000040, 0x00000080,
  1627. X                  0x00000100, 0x00000200, 0x00000400, 0x00000800,
  1628. X                  0x00001000, 0x00002000, 0x00004000, 0x00008000,
  1629. X
  1630. X--- 48,54 -----
  1631. X  int closing_flag = 0;             /* Used for closing   */
  1632. X  
  1633. X  /* Bit testing array                        */
  1634. X! bitset_t bit_array[32] = {0x00000001, 0x00000002, 0x00000004, 0x00000008,
  1635. X                  0x00000010, 0x00000020, 0x00000040, 0x00000080,
  1636. X                  0x00000100, 0x00000200, 0x00000400, 0x00000800,
  1637. X                  0x00001000, 0x00002000, 0x00004000, 0x00008000,
  1638. X***************
  1639. X*** 66,72
  1640. X  int panel_col_prt,panel_row_prt;
  1641. X  
  1642. X  /*  Following are all floor definitions                */
  1643. X! cave_type cave[MAX_HEIGHT][MAX_WIDTH];
  1644. X  /* Values for floor types                    */
  1645. X  /* if fval is more than 4 bits then the save file routines must be changed */
  1646. X  cave_type blank_floor = { 0, 0, 0, FALSE, FALSE, FALSE, FALSE};
  1647. X
  1648. X--- 66,72 -----
  1649. X  int panel_col_prt,panel_row_prt;
  1650. X  
  1651. X  /*  Following are all floor definitions                */
  1652. X! cave_type huge cave[MAX_HEIGHT][MAX_WIDTH];
  1653. X  /* Values for floor types                    */
  1654. X  /* if fval is more than 4 bits then the save file routines must be changed */
  1655. X  cave_type blank_floor = { 0, 0, 0, FALSE, FALSE, FALSE, FALSE};
  1656. X***************
  1657. X*** 155,161
  1658. X  };
  1659. X  
  1660. X  /* Base experience levels, may be adjusted up for race and/or class*/
  1661. X! int player_exp[MAX_PLAYER_LEVEL] = {
  1662. X       10,     25,     45,     70,    100,    140,    200,    280,    380,   500,
  1663. X      650,    850,   1100,   1400,   1800,   2300,   2900,   3600,   4400,  5400,
  1664. X     6800,   8400,  10200,  12500,  17500,  25000,  35000,  50000,  75000,100000,
  1665. X
  1666. X--- 155,161 -----
  1667. X  };
  1668. X  
  1669. X  /* Base experience levels, may be adjusted up for race and/or class*/
  1670. X! bigint_t player_exp[MAX_PLAYER_LEVEL] = {
  1671. X       10,     25,     45,     70,    100,    140,    200,    280,    380,   500,
  1672. X      650,    850,   1100,   1400,   1800,   2300,   2900,   3600,   4400,  5400,
  1673. X     6800,   8400,  10200,  12500,  17500,  25000,  35000,  50000,  75000,100000,
  1674. XIndex: wands.c
  1675. XRCS file: RCS/wands.c,v
  1676. Xretrieving revision 1.1
  1677. Xdiff -c3 -r1.1 wands.c
  1678. X*** /tmp/,RCSt1a02745    Mon Jan 18 10:31:30 1988
  1679. X--- wands.c    Wed Dec  9 11:54:30 1987
  1680. X***************
  1681. X*** 6,12
  1682. X  /* Wands for the aiming...                */
  1683. X  aim()
  1684. X  {
  1685. X!   unsigned int i;
  1686. X    int j, k, l, chance;
  1687. X    int dir, item_val;
  1688. X    int dumy, y_dumy, x_dumy;
  1689. X
  1690. X--- 6,12 -----
  1691. X  /* Wands for the aiming...                */
  1692. X  aim()
  1693. X  {
  1694. X!   bitset_t i;
  1695. X    int j, k, l, chance;
  1696. X    int dir, item_val;
  1697. X    int dumy, y_dumy, x_dumy;
  1698. XIndex: wizard.c
  1699. XRCS file: RCS/wizard.c,v
  1700. Xretrieving revision 1.1
  1701. Xdiff -c3 -r1.1 wizard.c
  1702. X*** /tmp/,RCSt1a02750    Mon Jan 18 10:31:38 1988
  1703. X--- wizard.c    Sun Dec  6 14:55:08 1987
  1704. X***************
  1705. X*** 13,18
  1706. X  char *sprintf();
  1707. X  #endif
  1708. X  
  1709. X  
  1710. X  /* Print Moria credits                    -RAK-    */
  1711. X  game_version()
  1712. X
  1713. X--- 13,19 -----
  1714. X  char *sprintf();
  1715. X  #endif
  1716. X  
  1717. X+ #ifdef PASS1 /* First pass */
  1718. X  
  1719. X  /* Print Moria credits                    -RAK-    */
  1720. X  game_version()
  1721. X***************
  1722. X*** 239,244
  1723. X    py_bonuses(blank_treasure, 0);
  1724. X  }
  1725. X  
  1726. X  
  1727. X  /* Wizard routine for creating objects            -RAK-    */
  1728. X  wizard_create()
  1729. X
  1730. X--- 240,246 -----
  1731. X    py_bonuses(blank_treasure, 0);
  1732. X  }
  1733. X  
  1734. X+ #else /* PASS1 */
  1735. X  
  1736. X  /* Wizard routine for creating objects            -RAK-    */
  1737. X  wizard_create()
  1738. X***************
  1739. X*** 375,377
  1740. X        }
  1741. X    inventory[INVEN_MAX] = blank_treasure;
  1742. X  }
  1743. X
  1744. X--- 377,380 -----
  1745. X        }
  1746. X    inventory[INVEN_MAX] = blank_treasure;
  1747. X  }
  1748. X+ #endif /* PASS1 */
  1749. END_OF_diffs.xenix
  1750. if test 35587 -ne `wc -c <diffs.xenix`; then
  1751.     echo shar: \"diffs.xenix\" unpacked with wrong size!
  1752. fi
  1753. # end of overwriting check
  1754. fi
  1755. echo shar: End of shell archive.
  1756. exit 0
  1757.